<?php
require '../../common/func.php';

session_start();
//拦截未登录
filterLogout();

$routerUrl = '../../views/user/home.html';
if($_SESSION['loginIden']=='管理员'){
    require '../../views/admin/template.html';
}else{
    require '../../views/user/template.html';
}